package com.liuzihao.controller;

import com.liuzihao.service.IMessageProvider;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Author: Liuzihao
 * @Description:
 * @Date Created in 2022-03-10 17:13
 * @Modified By:
 */
@RestController
public class SendMessageController {

    @Resource
    private IMessageProvider messageProvider;

    @RequestMapping("sendMsg")
    String sendMsg(){
        return messageProvider.sendMsg();
    }
}
